home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1988 / Apr 88 / OpenOld 4⁄10 < prev    next >
Encoding:
Text File  |  1991-03-06  |  927 b   |  31 lines  |  [TEXT/GEOL]

  1. Item    3573055                         10-April-88        23:56
  2.  
  3. From:   HOL0044                         Kemink Consultancy, J Kemink
  4.  
  5. To:     MACAPP$                         MacApp Interest List
  6.  
  7. cc:     HOL0044                         Kemink Consultancy, J Kemink
  8.  
  9. Sub:    OpenOld
  10.  
  11. Hi MacApp(R)s,
  12.  
  13. The data in my documents contains a reference to the view they are shown in.
  14.  
  15. When opening existing documents, first the data is read, then the views are
  16. made. To have the views available before the data is actually read, I have
  17. overriden the OpenOld routine of TApplication. I placed the calls to
  18. DoMakeViews and DoMakeWindows before the call to ReadFromFile:
  19.  
  20.     aDocument.DoMakeViews(kForDisplay);
  21.     aDocument.DoMakeWindows;
  22.     aDocument.ReadFromFile(anAppFile,kForDisplay);
  23.  
  24. In my eyes this should work well, I don't encounter any problems. Can someone
  25. give a confirmation about this?
  26.  
  27. Best Regards,
  28. Joost Kemink
  29.  
  30.  
  31.